package com.annotation.demo03;

public class Test {
    public static void main(String[] args) {
        System.out.println("测试");
    }
    @OrderAnnotation(id = 10,name = "ymb",schools = {"哈哈小学","嘻嘻初中"})
    public void go(){
        System.out.println("使用注解");
    }

    @MyAnnotation("可以省略参数名称")
    public void run(){
        System.out.println("当注解只有一个参数时 value");
    }

    @Override
    public String toString() {
        return "Test{}";
    }
}
